from django.shortcuts import render

from mqtt.tcp_server import message_queues, device_rev_list


# Create your views here.
def mqtt_web(request):
    data = '1234'
    print(device_rev_list)
    return render(request,'socket_data.html',{'socket_data':device_rev_list})